IBM has today unveiled their first public effort towards Swift, with the introduction of the IBM Swift Sandbox website. You can type lines of Swift code into the text editor on the left and then run the code on a Linux server, posting the output in the right column. This is all made possible by the fact that Swift is now open source, supporting Linux alongside iOS and OS X.
You can use the core Swift language as well as the standard library functions, so writing a formulaic mathematical problem (like the Fibonacci example above) is well within the scope of the web application. The concept is similar to the CodeRunner app from the Mac App Store, except it runs entirely off a cloud infrastructure.
This shows the potential path for future application development. More a cool tech demo than anything else, it’s rudimentary and impractical for any serious work but gives a glimpse into the sort of stuff that taking Swift into open-source realm enables. It’s also interesting that IBM is supporting Swift from the outset (the blog post openly states “we love Swift here”), showing potential for future enterprise opportunities. Apple and IBM already have a tight enterprise collaboration for bringing iOS and iPads into the corporate business world.
For more news on iOS Devices, Apple, and iOS continue reading at 9to5Mac.
What do you think? Discuss "Write Swift code in a web browser with the IBM Swift Sandbox" with our community.
Взято отсюда